.custom-message {
    position: fixed;
    left: 50%;
    top: 20px;
    min-width: 246px;
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 1px 6px rgb(0 0 0 / 15%);
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -webkit-transition: opacity .3s, top .4s, -webkit-transform .4s;
    transition: opacity .3s, top .4s, -webkit-transform .4s;
    transition: opacity .3s, transform .4s, top .4s;
    transition: opacity .3s, transform .4s, top .4s, -webkit-transform .4s;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.my-message-info {
    color: #909399;
    background-color: #edf2fc;
}

.my-message-success {
    color: #67c23a;
    background-color: #f0f9eb;
}

.my-message-warning {
    color: #e6a23c;
    background-color: #fdf6ec;
}

.my-message-error {
    color: #f56c6c;
    background-color: #fef0f0;
}

.my-message-icon-info {
    color: #909399;
}

.my-message-icon-success {
    color: #67c23a;
}

.my-message-icon-warning {
    color: #e6a23c;
}

.my-message-icon-error {
    color: #f56c6c;
}

.my-message-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
}

.my-message-text {
    margin-left: 10px;
    padding-right: 15px;
}

.mj-message-fade-enter,
.mj-message-fade-leave-to {
    opacity: 0;
    transform: translate(-50%, -100%) !important;
}